package com.sali.statistics;

import lombok.extern.slf4j.Slf4j;

import java.util.concurrent.atomic.AtomicLong;

/**
 * @description:
 * @author: sali
 * @date: 2025/2/22 下午2:06.
 * @version: 1.0
 */
@Slf4j
public class MockMessageStatistics {

    private MockMessageStatistics() {
    }

    // 接收报文数量
    private static AtomicLong recMsgCount = new AtomicLong(0);

    // 报文解析数量
    private static AtomicLong parseMsgCount = new AtomicLong(0);

    private static AtomicLong sendMsgCount = new AtomicLong(0);

    public static AtomicLong getRecMsgCount() {
        return recMsgCount;
    }

    public static AtomicLong getParseMsgCount() {
        return parseMsgCount;
    }

    public static AtomicLong getSendMsgCount() {
        return sendMsgCount;
    }

}
